[PHP] Dynamic cron jobs?
Posted
by Frankie Laguna
on Stack Overflow
See other posts from Stack Overflow
or by Frankie Laguna
Published on 2010-06-01T11:54:50Z
Indexed on
2010/06/01
12:03 UTC
Read the original article
Hit count: 232
I'm writing a script that needs to be called at a random time during the day, but am not sure how to accomplish this.
I don't want to waste server resources to run a cron job every minute.
I want the script to be called at random, so generating the random times for say a month in advance and then creating cron jobs for each of them isn't what I'm looking for.
Also this script only needs to be executed once a day.
Thanks in advance!
© Stack Overflow or respective owner